package cn.chengdu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 病人表
 * </p>
 *
 * @author jobob
 * @since 2019-11-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class People implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 病人id
     */
    @TableId(value = "pid", type = IdType.AUTO)
    private Integer pid;

    /**
     * 病人名字
     */
    private String pname;

    /**
     * 病人电话
     */
    private String pphone;

    /**
     * 病人身份证
     */
    private String pcode;

    /**
     * 病人性别
     */
    private String pgender;

    public People(String pname, String pphone, String pcode) {
        this.pname = pname;
        this.pphone = pphone;
        this.pcode = pcode;
    }

//    private LocalDateTime patrdate;
//
//    private String deptype;
//
//    private String staname;


}
